home *** CD-ROM | disk | FTP | other *** search
- global gUserDiskDrives, gEncryptKey
-
- on getIni IniFile, Section, KeyName
- if the platform contains "mac" then
- IniFile = gUserDiskDrives[1] & IniFile
- else
- IniFile = "C:\" & IniFile
- end if
- return dosReadINI(IniFile, Section, KeyName)
- end
-
- on setIni IniFile, Section, KeyName, Data
- if the platform contains "mac" then
- IniFile = gUserDiskDrives[1] & IniFile
- else
- IniFile = "C:\" & IniFile
- end if
- return dosWriteINI(IniFile, Section, KeyName, string(Data))
- end
-
- on encryptIni IniFile
- if the platform contains "mac" then
- IniFile = gUserDiskDrives[1] & IniFile
- else
- IniFile = "C:\" & IniFile
- end if
- return dosEncryptFile(IniFile, IniFile, gEncryptKey)
- end
-
- on decryptIni IniFile
- if the platform contains "mac" then
- IniFile = gUserDiskDrives[1] & IniFile
- else
- IniFile = "C:\" & IniFile
- end if
- return dosDecryptFile(IniFile, IniFile, gEncryptKey)
- end
-